<template>
  <el-dialog
    title="应用属性"
    :visible.sync="dialogVisible"
    width="450px"
    >
    <el-form class="app-info"  :model="fromData" label-width="115px">
      <el-form-item label="名称" >
        {{fromData.name}}
      </el-form-item>
      <el-form-item label="创建人" >
        {{fromData.createUserName}}
      </el-form-item>
      <el-form-item label="所属人" >
        {{fromData.ownerName}}
      </el-form-item>
      <el-form-item label="所属单位" >
        {{fromData.orgAccountName}}
      </el-form-item>
      <el-form-item label="创建时间" >
        {{fromData.createDate}}
      </el-form-item>
      <el-form-item label="修改时间" >
        {{fromData.updateDate}}
      </el-form-item>
      <el-form-item label="来源" >
        {{fromData.appSourceValue}}
      </el-form-item>
      <el-form-item label="使用期限" >
        {{fromData.total}}
      </el-form-item>
      <el-form-item label="剩余可用天数" >
        {{fromData.endLineDay}}
      </el-form-item>
      <el-form-item label="开始时间" >
        {{fromData.authtime}}
      </el-form-item>
      <el-form-item label="结束时间" >
        {{fromData.endDate}}
      </el-form-item>
      <el-form-item label="许可单位" >
        {{fromData.authto}}
      </el-form-item>
    </el-form>
  </el-dialog>
</template>

<script>
export default {
  data(){
    return{
      dialogVisible:false,
      fromData:{}
    }
  },
  methods:{
    open(data){
      this.dialogVisible = true
      this.fromData = JSON.parse(JSON.stringify(data))
    }
  }
}
</script>
<style lang="scss" scoped>
  .app-info{
    .el-form-item{
      margin: 0;
      & /deep/ .el-form-item__label{
        line-height: 28px;
      }
      & /deep/ .el-form-item__content{
        line-height: 28px;
      }
    }
  }
</style>